package com.feng.study.demo.mq;

import org.springframework.stereotype.Component;

@Component
//@RabbitListener(queues = "chatbot")

//@EnableBinding({Processor.class})
public class RabbitMqReceiver {
//    @RabbitHandler
//    public void process(String s) {
//        System.out.println("Receiver:" + s);
//    }

//    @StreamListener(Processor.TEST_STUDY_INPUT)
    public void dealMq(){

        System.out.println("消息消费");
    }
}
